<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>下划线动画导航栏</title>

    <link rel="stylesheet" type="text/css" href="./index.css">
</head>
<body>
    <ul class="menu">
        <li class="menu-item"><a href="#">首页</a></li>
        <li class="menu-item"><a href="#">关于</a></li>
        <li class="menu-item"><a href="#">联系</a></li>
        <li class="menu-item"><a href="#">留言</a></li>
    </ul>
</body>
</html>